package com.ghj.controller;

import com.ghj.pojo.Userloginlog;
import com.ghj.service.UserloginlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;


@Controller
public class UserloginlogController {
    @Autowired
    UserloginlogService userloginlogService;

    @ResponseBody
    @GetMapping("/findLogin")
public List<Userloginlog> findLogin(){
        return userloginlogService.findAll();
        }

}
